import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import share from "@/utils/share";
Vue.use(plugins)
Vue.mixin(share)

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

import {formatDate} from '@/utils/time.js';

Vue.filter('formatDate',formatDate)

Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

// 字典
import DictData from './common/dict/init'
import DictTag from './common/dict/DictTag'
Vue.component('DictTag', DictTag)
DictData.install()




const app = new Vue({
  ...App
})

app.$mount()
